package shopping.mode;

/**
 * 订单行
 */
public class OrderItem {
    private String itemId;
    private double price;
    private String orderId;
    private double num;
    /**
     * 产品编号
     */
    private String prodId;
    private String prodName;

    public OrderItem() {
    }

    public OrderItem(String itemId, double price, String orderId, double num, String prodId, String prodName) {
        this.itemId = itemId;
        this.price = price;
        this.orderId = orderId;
        this.num = num;
        this.prodId = prodId;
        this.prodName = prodName;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public double getNum() {
        return num;
    }

    public void setNum(double num) {
        this.num = num;
    }

    public String getProdId() {
        return prodId;
    }

    public void setProdId(String prodId) {
        this.prodId = prodId;
    }

    public String getProdName() {
        return prodName;
    }

    public void setProdName(String prodName) {
        this.prodName = prodName;
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }
}
